<!DOCTYPE html> 
<html> 
<head>
<meta charset="utf-8"> 
<title>Conference Info</title> 
<meta name="viewport" content="width=device-width, initial-scale=1"> 
<link href="http://cdn.bootcss.com/jquery-mobile/1.4.2/jquery.mobile.min.css" rel="stylesheet">
<script src="http://include.qeebu.com/js/jquery-1.9.1.min.js"></script>
<script src="http://cdn.bootcss.com/jquery-mobile/1.4.2/jquery.mobile.min.js"></script>
<script type="text/javascript">
function addLink(){
	var ch = window.document.getElementsByName("choose");
	var str="";
	for(var i=0;i<ch.length;i++){
		if(ch[i].checked)
			str +=","+ch[i].value;
	}
	$('[name="<php>echo $_GET["action"]</php>"]',window.opener.document).val(str.substring(1));
	window.close();
}
</script>
</head> 
<body>	
<div data-role="page" id="Sign">
    <div data-role="header">
		<a href="#" data-role="button" data-icon="back" onclick="addLink();">确定</a>
        <h1>选择</h1>
    </div>
	<div data-role="content">
        <ul data-role="listview" data-filter="true" id="list-subject" data-split-icon="delete" data-split-theme="c">
		<php>
		foreach ($speakerlist as $index=>$speaker){
            $brief_intro = $speaker['audience_desc'];
            $sid = $speaker['audience_id'];
		</php>
		<li>
        	<label title="{$speaker['audience_id']}">
        		<input type="checkbox" name="choose" value="{$sid}"/>
                {$speaker['audience_name']}&nbsp;{$speaker['audience_position']}
            </lable>
        </li>
		<php> }</php>
		</ul>
        <a href="#" data-role="button" data-icon="back" onclick="addLink();">确定</a>
	</div>
</div>
</body>
</html>